package feign.controller;

import feign.client.SampleFeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by Administrator on 2016/11/1.
 */
@Component
public class SampleFeignClienetFallBack  {
    public String getUserById(@PathVariable("id") String id) {
        return "this is fallback";
    }
}
